package com.mc.designpattern.zuhe;

public class Employee extends HumanResource {
public Employee(long id, double salary) {
super(id);
this.salary = salary;
}


@Override
public double calculateSalary() {
return salary;
}
}